@charset "utf-8";
/* CSS Document */
.container {
  max-width: 1300px;
  margin: 20px auto;
  padding: 0 15px;
}
/* 搜索筛选区 */
.search-header {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.search-input {
  flex: 1;
  padding: 0px 20px;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  min-width: 300px;
}
.filter-select {
  padding: 0px 15px;
  height: 40px;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  background: white;
}
/* 表格容器 */
.table-container {
  overflow-x: auto;
  background: white;
  border-radius: 0px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
/* 商品表格 */
.product-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}
.product-table th, .product-table td {
  padding: 0 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.product-table td {
  padding: 10px 15px;
}
.product-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}
.product-table tr:hover {
  background: #f8f9fa;
}
/* 产品图片 */
.product-thumb {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
}
/* 操作按钮 */
.action-buttons {
  display: flex;
  gap: 12px;
}
.btn-icon {
  padding: 8px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
}
.btn-icon:hover {
  background: rgba(0, 0, 0, 0.05);
}
.btn-phone {
  color: #52c41a;
}
.btn-favorite {
  color: #ff4d4f;
}
/* 店铺链接 */
.shop-link {
  color: #1890ff;
  text-decoration: none;
}
.icon-renzheng img {
  height: 20px;
	margin-left: 10px;
	display: inline-block;
}
.shop-link:hover {
  text-decoration: underline;
}
/* 响应式设计 */
@media (max-width: 768px) {
  .product-table th, .product-table td {
    padding: 12px;
    font-size: 14px;
  }
  .product-thumb {
    width: 60px;
    height: 45px;
  }
}

 /* 店铺信息样式 */
        .merchant-section {
            background: #fff;
            padding: 0px;
            margin: 20px auto;
            max-width: 1300px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
 
        .merchant-header {
            border-bottom: 2px solid #225faf;
            /*padding-bottom: 15px;
            margin-bottom: 20px;*/
            
			padding-left: 20px;
	background: #eff6fb;
        }
.merchant-info {
	display: flex;
            justify-content: space-between;
            align-items: center;
	padding: 10px 0;
}
 
        .merchant-info h2 {
            color: #333;
            font-size: 24px;
            /*margin-bottom: 8px;*/
        }
 
        .merchant-meta span {
            display: inline-block;
            margin-right: 20px;
            color: #666;
        }
 
        /* 产品表格样式 */
        .product-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
 
        .product-table th,
        .product-table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }
 
        .product-table th {
            background: #f8f9fa;
            color: #333;
            font-weight: 600;
        }
 
        .product-table tr:hover {
            background: #f5f7fa;
        }
 
        .contact-btn {
            background: #225faf;
            color: white;
            padding: 6px 12px;
            border-radius: 4px;
            text-decoration: none;
            display: inline-block;
        }
 
        /* 响应式设计 */
        @media (max-width: 768px) {
            .product-table {
                display: block;
                overflow-x: auto;
            }
            
            .merchant-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .merchant-meta span {
                display: block;
                margin: 5px 0;
            }
        }
.product-table tbody tr {
            display: none;
        }
 
        .product-table tbody tr:first-child,
        .product-table tbody tr.expanded {
            display: table-row;
        }
 
        .product-table .expand-control {
            text-align: center;
            padding: 15px 0;
        }
 
        .expand-btn {
            background: #fff;
    		color: #666;
            padding: 5px 15px;
            border-radius: 6px;
            border: none;
            cursor: pointer;
            transition: background 0.3s;
			box-shadow: 0px 0px 6px rgba(34, 95, 175, 0.2);
			box-sizing: border-box;
			border:1px solid #fff;
			color: #225faf;
        }
 
        .expand-btn:hover {
            background: #e8eff7;
			border:1px solid rgba(34,95,175,.5);
			box-sizing: border-box;
        }
 
        .expand-btn::after {
            content: ' ▼';
        }
 
        .expanded .expand-btn::after {
            content: ' ▲';
        }
